package com.personal.service.Impl;

import com.personal.dao.ShopCategoryDao;
import com.personal.entity.ShopCategory;
import com.personal.service.ShopCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 萌新
 * @version 1.0
 * @date 2021/4/14 11:27
 */

@Service
public class ShopCategoryServiceImpl implements ShopCategoryService {

    @Autowired
    private ShopCategoryDao shopCategoryDao;

    @Override
    public List<ShopCategory> getShopCategoryList(ShopCategory shopCategory) {
        return shopCategoryDao.queryShopCategoryList(shopCategory);
    }
}
